package com.quanyan.user.model.vo.request;

import com.quanyan.common.constants.Constants;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by Administrator on 2016/11/15.
 */
public class ReqNewsComment implements Serializable{

    private static final long serialVersionUID = -3628635703497608156L;

    /**
     * 评论id
     */
    private Integer commentId = 0;

    /**
     * 不填默认是评论给动态发送者
     */
    private Integer toUid;

    private String content;


    /**
     * 登录人
     */
    private Integer uid;


    /**
     * 模块类型
     */
    private Integer moduleType;


    private Integer pageNum = 0;  //当前页

    private Integer pageSize = Constants.DEFAULT_PAGE_SIZE; //每页条数

    @NotNull(message = "dynamicDetailsId不能为空！")
    private Integer dynamicDetailsId;


    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getToUid() {
        return toUid;
    }

    public void setToUid(Integer toUid) {
        this.toUid = toUid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getModuleType() {
        return moduleType;
    }

    public void setModuleType(Integer moduleType) {
        this.moduleType = moduleType;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getDynamicDetailsId() {
        return dynamicDetailsId;
    }

    public void setDynamicDetailsId(Integer dynamicDetailsId) {
        this.dynamicDetailsId = dynamicDetailsId;
    }

    @Override
    public String toString() {
        return "ReqNewsComment{" +
                "commentId=" + commentId +
                ", toUid=" + toUid +
                ", content='" + content + '\'' +
                ", uid=" + uid +
                ", moduleType=" + moduleType +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", dynamicDetailsId=" + dynamicDetailsId +
                '}';
    }
}
